package model

import (
	"time"
)

type AuPayment struct {
	Id          int       `xorm:"not null pk autoincr INT(11)"`
	PaymentNo   string    `xorm:"not null VARCHAR(20)"`
	Status      int       `xorm:"not null TINYINT(1)"`
	PayType     int       `xorm:"not null SMALLINT(3)"`
	PayWay      int       `xorm:"not null TINYINT(1)"`
	Amount      float32   `xorm:"not null FLOAT(10,2)"`
	EmpId       int       `xorm:"not null INT(11)"`
	EmpName     string    `xorm:"not null VARCHAR(30)"`
	CreateTime  time.Time `xorm:"not null DATETIME"`
	UpdateTime  time.Time `xorm:"not null DATETIME"`
	CardNo      string    `xorm:"not null default '' VARCHAR(80)"`
	BankName    string    `xorm:"not null default '' VARCHAR(255)"`
	AccountName string    `xorm:"not null default '' VARCHAR(30)"`
	Refer       int       `xorm:"not null default 0 SMALLINT(3)"`
	BranchId    int       `xorm:"not null default 0 INT(11)"`
}
